<!--  -->
<template>
  <div class="ant-modal-footer">
    <template v-for="(item, index) in items">
      <a-button
        v-if="isShow(item)"
        v-debounce:[item.time]="{ func: item.handler, immediate: true }"
        :key="index"
        :type="item.type"
        :icon="item.icon"
        :disabled="item.disabled || false"
        >{{ item.label }}
      </a-button>
    </template>
  </div>
</template>

<script lang='ts' src='./index.ts'></script>
<style lang='scss' scoped>
@import "./_index.scss";
</style>